package com.aw.baselib.widgets.font

import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.Rect
import android.util.AttributeSet
import com.aw.baselib.base.AwBaseApplication

/**
 * @author : hzw
 */
@SuppressLint("AppCompatCustomView")
class AwEtBold(context: Context, attrs: AttributeSet?) : AwEtRegularBase(context, attrs) {
    override fun setViewBg() {}

    init {
        typeface = AwBaseApplication.instance?.typefaceBold
    }

    override fun onDraw(canvas: Canvas) {
        super.onDraw(canvas)
    }

    override fun onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?) {
        super.onFocusChanged(focused, direction, previouslyFocusedRect)
    }
}